﻿namespace CatClient
{
    using System;

    public class PureCatConstants
    {
        public const string SUCCESS = "0";
        public const string ERROR = "ERROR";
        public const int MAX_LENGTH = 0x3e8;
        public const int MAX_ITEM_LENGTH = 50;
        public const int MAX_CHILD_NUMBER = 200;
        public const string CAT_STATE = "cat-state";
        public const string CAT_PAGE_URI = "cat-page-uri";
        public const string CAT_PAGE_TYPE = "cat-page-type";
        public const string TYPE_CALL = "Call";
        public const string TYPE_RESULT = "Result";
        public const string TYPE_SERVICE = "Service";
        public const string TYPE_REMOTE_CALL = "RemoteCall";
        public const string TYPE_REQUEST = "Request";
        public const string TYPE_RESPONSE = "Respone";
        public const string TYPE_PIGEON_SERVICE = "PigeonService";
        public const string TYPE_PIGEON_SERVICE_IP = "PigeonService.client";
        public const string TYPE_PIGEON_SERVICE_APP = "PigeonService.app";
        public const string TYPE_PIGEON_CALL = "PigeonCall";
        public const string TYPE_PIGEON_CALL_SERVER = "PigeonCall.server";
        public const string TYPE_PIGEON_CALL_APP = "PigeonCall.app";
        public const string TYPE_PIGEON_CALL_PORT = "PigeonCall.port";
        public const string TYPE_ERROR = "Error";
        public const string TYPE_EXCEPTION = "Exception";
        public const string TYPE_RUNTIMEEXCEPTION = "RuntimeException";
        public const string NAME_TIME_OUT = "ClientTimeOut";
        public const string NAME_Cache = "Cache";
        public const string PIGEON_ROOT_MESSAGE_ID = "RootMessageId";
        public const string PIGEON_PARENT_MESSAGE_ID = "ParentMessageId";
        public const string PIGEON_CHILD_MESSAGE_ID = "ChildMessageId";
        public const string PIGEON_CURRENT_MESSAGE_ID = "CurrentMessageId";
        public const string PIGEON_SERVER_MESSAGE_ID = "ServerMessageId";
        public const string PIGEON_RESPONSE_MESSAGE_ID = "ResponseMessageId";
        public const string TYPE_SQL = "SQL";
        public const string TYPE_SQL_PARAM = "SQL.PARAM";
        public const string TYPE_SQL_NAME = "SQL.Name";
        public const string TYPE_SQL_METHOD = "SQL.Method";
        public const string TYPE_SQL_DATABASE = "SQL.Database";
        public const string TYPE_SQL_ROWS = "SQL.Rows";
        public const string TYPE_URL = "URL";
        public const string TYPE_URL_FORWARD = "URL.Forward";
        public const string TYPE_URL_SERVER = "URL.Server";
        public const string TYPE_URL_METHOD = "URL.Method";
        public const string TYPE_URL_BODY = "URL.Body";
        public const string TYPE_URL_COOKIE = "URL.Cookie";
        public const string TYPE_URL_RESPONSE = "URL.Response";
        public const string TYPE_ACTION = "Action";
        public const string TYPE_METRIC = "MetricType";
        public const string TYPE_TRACE = "TraceMode";
        public const int ERROR_COUNT = 100;
        public const int SUCCESS_COUNT = 0x3e8;
        public const string TYPE_CORE = "Core";
        public const string KEY_MAIN_CONTEXT = "(*`-_-`*)";
        public const string KEY_CURRENT_CONTEXT_KEY = "/(@ >_< @)/";
        public const string KEY_SECOND_CONTEXT_KEY = "(^T_T^)";
        public const string KEY_MAIN_CONTEXT_IGNORE = "(\x00ac_\x00ac)ﾉignore";
    }
}

